package order.mapper;

import order.model.OrderInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * Created with Intellij IDEA.
 * Description;
 * User:TQ02
 * Data:2024-07-18
 * Time:12:39
 * Text：
 */
@Mapper
public interface OrderMapper {
    //查询购买信息
    @Select("select * from order_detail where id = #{orderId}")
    OrderInfo select(Integer orderId);
}
